package cn.tedu.mall.vo;

import cn.tedu.mall.pojo.Item;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

public class EasyUITable {
    private Integer total;//总记录数
    private List<Item> rows;
    public EasyUITable(){}

    public EasyUITable(Integer total, List<Item> rows) {
        this.total = total;
        this.rows = rows;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<Item> getRows() {
        return rows;
    }

    public void setRows(List<Item> rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "EasyUITable{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }
}
